#include <stdio.h>

#define ONE 1 
#define TWO (1<<1)
#define THREE (1<<2)
#define FOUR (1<<3)

void Print(int flag)
{
    if (flag & ONE)
        printf("ONE\n");
    if (flag & TWO)
        printf("TWO\n");
    if (flag & THREE)
        printf("THREE\n");
    if (flag & FOUR)
        printf("FOUR\n");
}

int main()
{
    Print(ONE);
    Print(TWO);
    Print(THREE);
    Print(ONE|TWO|THREE|FOUR);

    return 0;
}
